package com.maserb.monitor.entity.schoolStudent;

import com.maserb.monitor.entity.BaseIdEntity;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;

import javax.persistence.*;

/** 
 * 错题本
 * 
 * @author jimmy
 */
@Entity
@Table(name = "student_error_book")
public class StudentErrorBookEntity extends BaseIdEntity {
	/**
	 * 学生id
	 */
	private String studentId;
	/**
	 * 问题编号
	 */
	private String questionNumber;
	/**
	 * 问题
	 */
	private String title;
	/**
	 * 正确答案
	 */
	private String trueAnswer;
	/**
	 * 总分
	 */
	private String totalScore;
	/**
	 * 难度
	 */
	private String difficulty;

	@Column(name = "student_id",length = 36)
	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	@Column(name = "question_number",length = 50)
	public String getQuestionNumber() {
		return questionNumber;
	}

	public void setQuestionNumber(String questionNumber) {
		this.questionNumber = questionNumber;
	}

	@Column(name = "title",length = 500)
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "true_answer",length = 500)
	public String getTrueAnswer() {
		return trueAnswer;
	}

	public void setTrueAnswer(String trueAnswer) {
		this.trueAnswer = trueAnswer;
	}

	@Column(name = "total_score",length = 5)
	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	@Column(name = "difficulty",length = 5)
	public String getDifficulty() {
		return difficulty;
	}

	public void setDifficulty(String difficulty) {
		this.difficulty = difficulty;
	}
}